# Makefile
CC      = gcc
CFLAGS  = -Wall -g -O2
SRCS    = main.c ptrace.c bp.c regs.c
PROG    = minidbg

$(PROG): $(SRCS)
	$(CC) $(CFLAGS) -o $@ $^

clean:
	rm -f $(PROG)

.PHONY: clean